﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PersonTypesInputFields.ascx.cs" Inherits="SERP.Modules.PersonTypes.PersonTypesInputFields" %>
<div class="frow"> 
<asp:Label ID="labelPersonTypeId" runat="server" Text="PersonTypeId" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtPersonTypeId"  MaxLength="8" Width="400"></asp:TextBox>
		<asp:RegularExpressionValidator ID="validExpressionPersonTypeId" Display="dynamic" runat="server" ControlToValidate="txtPersonTypeId"
		ErrorMessage="*dữ liệu dạng số nguyên" ValidationExpression="^(\+|-)?\d+$" ValidationGroup="btnSave"></asp:RegularExpressionValidator>
		<asp:RequiredFieldValidator ID="validRQPersonTypeId" ValidationGroup="btnSave" Text="" runat="server" ErrorMessage="* không được để trống" Display="dynamic" ControlToValidate="txtPersonTypeId"></asp:RequiredFieldValidator>
		<asp:CustomValidator ID="validCustomPersonTypeIdExists" runat="server" Display="Dynamic" 
            ErrorMessage="*Đã tồn tại" onservervalidate="validCustomPersonTypeIdExists_ServerValidate" ValidationGroup="btnSave"></asp:CustomValidator>
</div>
<div class="frow"> 
<asp:Label ID="labelTypeName" runat="server" Text="TypeName" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtTypeName"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelNote" runat="server" Text="Note" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtNote"  Width="400"></asp:TextBox>
</div>
